<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html>
<jsp:include page="common/resource-head.jsp"/>
<style>
  .login-layout {
    background-image: url("/images/login_bg.jpg");
    background-size: 100% 100%;
  }

  .login-layout .widget-box {
    background-color: #f7f7f7;
  }
</style>
<body class="login-layout">
<div class="main-body">

  <div class="main-content">
    <div class="row">
      <div class="col-sm-10 col-sm-offset-1">
        <div class="login-container">
          <div class="center">
            <h1>
              <i class="icon-leaf green"></i> <span class="white">图书平台</span>
            </h1>
          </div>
          <div class="space-6"></div>
          <div class="position-relative">
            <div id="login-box"
                 class="login-box visible widget-box no-border">
              <div class="widget-body">
                <div class="widget-main">
                  <h4 class="header blue lighter bigger">
                    <i class="icon-coffee green"></i>登录信息
                  </h4>
                  <h4>${message}</h4>
                  <div class="space-6"></div>
                  <form action="/loginAuth" method="post">
                    <fieldset>
                      <label class="block clearfix">
                        <span class="block input-icon input-icon-right">
                          <input name="username" type="text" class="form-control"
                                 placeholder="用户名"/>
                          <i class="icon-user"></i>
                        </span>
                      </label>
                      <label class="block clearfix">
                        <span class="block input-icon input-icon-right">
                          <input name="password" type="password" class="form-control"
                                 placeholder="密码"/>
                          <i class="icon-lock"></i>
                        </span>
                      </label>

                      <div class="space"></div>

                      <div class="clearfix">
                        <button type="submit" style="width: 100%"
                                class="pull-right btn btn-sm btn-primary">
                          <i class="icon-key"></i>登&nbsp;&nbsp;录
                        </button>
                      </div>
                      <a href="/register">没有账号？去注册</a>
                      <div class="space-4"></div>
                    </fieldset>
                  </form>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<jsp:include page="common/resource-script.jsp"/>
</body>
</html>
